<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddColumnToThesis extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //
        Schema::table('thesises',function($table){  
            $table->string('description',255);  
            $table->string('proposal',255);  
            $table->string('paper',255);  
        }); 
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
	Schema::table('thesises',function($table){  
            $table->dropColumn('description');  
            $table->dropColumn('proposal');  
            $table->dropColumn('paper');  
        });  
    }
}
